
import request from "@/utils/request1"

// 配送申请

// 详情 #权限标识：delivery:info:details
export function mallDeliveryInfoDetails(id: String) {
    return request({
        url: '/mall/delivery/info/details/' + id,
        method: 'post'
    })
}

// 审核通过 #权限标识：delivery:info:approved
export function mallDeliveryInfoApproved(data: any) {
    return request({
        url: '/mall/delivery/info/approved',
        method: 'post',
        data
    })
}


// 驳回 #权限标识：delivery:info:reject
export function mallDeliveryInfoReject(data: any) {
    return request({
        url: '/mall/delivery/info/reject',
        method: 'post',
        data
    })
}

// 入仓安排 #权限标识：delivery:warehousing:arrangements
export function mallDeliveryInfoWarehousingArrangements(data: any) {
    return request({
        url: '/mall/delivery/info/warehousing/arrangements',
        method: 'post',
        data
    })
}

// 车辆安排 #权限标识：delivery:vehicle:arrangement
export function mallDeliveryInfoVehicleArrangement(data: any) {
    return request({
        url: '/mall/delivery/info/vehicle/arrangement',
        method: 'post',
        data
    })
}

// 录入入仓 #权限标识：delivery:warehousing:arrangements
export function mallDeliveryInfoInputWarehousingInfo(data: any) {
    return request({
        url: '/mall/delivery/info/input/warehousing/info',
        method: 'post',
        data
    })
}

// 录入车辆 #权限标识：delivery:vehicle:arrangement
export function mallDeliveryInfoInputVehicleInfo(data: any) {
    return request({
        url: '/mall/delivery/info/input/vehicle/info',
        method: 'post',
        data
    })
}

export function storageZdspckGetWarehouse() {
    return request({
        url: '/storage/zdspck/getWarehouse',
        method: 'post'
    })
}





